package xzlr21308;

public class Phone {
    private int storage;
    private String name;
    private  double size;
    private int price;
    private String configuration;

    public int getStorage() {
        return storage;
    }

    public void setStorage(int storage) {
        this.storage = storage;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getSize() {
        return size;
    }

    public void setSize(double size) {
        this.size = size;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public String getConfiguration() {
        return configuration;
    }

    public void setConfiguration(String configuration) {
        this.configuration = configuration;
    }

    @Override
    public String toString() {
        return "Phone{" +
                "storage=" + storage +
                ", name='" + name + '\'' +
                ", size=" + size +
                ", price=" + price +
                ", configuration='" + configuration + '\'' +
                '}';
    }
    
}
